<template>
  <video
    src="/videos/test.mp4"
    muted
    autoplay
    loop
    playsinline
    class="pure-video"
  />
</template>

<style scoped>
/* 去掉控制栏、边框、背景 */
.pure-video {
  width: 170px;
  height: 160px;
  object-fit: cover;
  border: none;
  outline: none;
  background: transparent;
  /* 隐藏原生控制栏 */
  pointer-events: none;
}
</style>